//
//  TimeTableXMLParser.h
//  Mehfile Zainab
//
//  Created by Sitara Badourali on 10/06/12.
//  Copyright (c) 2012 Mehfile Zainab. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MZTimeTableViewController.h"
#import "MZTimeTableSegmentedViewController.h"

@class MZTimeTable;

@interface TimeTableXMLParser : NSObject <NSXMLParserDelegate> {
    
    MZTimeTable *timetable;

    NSMutableArray *timeValues;
    
    NSMutableString *currentElementValue;
    
    MZTimeTableViewController *defaultViewController;
    
    MZTimeTableSegmentedViewController *viewController;
    
    NSDate *queryDate;
    
}

- (TimeTableXMLParser *) initXMLDefaultParser:(MZTimeTableViewController*)aViewController queriedDate:(NSDate*)aQueryDate;
- (TimeTableXMLParser *) initXMLParser:(MZTimeTableSegmentedViewController*)aViewController queriedDate:(NSDate*)aQueryDate;

@end